<?php include "../inc-config.php"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Log In</title>
<style type="text/css">
<!--
body {
	background-color: #000000;
	background-image: url(../images/alliance-tile.jpg); background-repeat:repeat-x;
}
body,td,th {
	color: #CC9900;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}
a:link {
    color:#CC9900; 
	
	
}
a:visited {
    color:#CC9900;
	
}
a:hover {
    color:#ffffff;
}
a:active {
    color:#FF0000;
}

input { background:transparent; background-image:url(../images/transpblack.png); color:#FFFFFF; border: 1px solid #333333}
select { background-color:#000000; color:#FFFFFF; border: 1px solid #333333}
textarea { background-color:#000000; color:#FFFFFF; border: 1px solid #333333}

-->
</style></head><body>
<center><br /><br /><br /><br />



<?php
if(!isset($_SESSION['user']))
{
?>
<table style=" background-image:url(../images/transp.png); border: solid 1px #000000">
<tr class='headline'><td background="../images/transpblack.png"><center><strong>Log In</strong></center></td></tr>
<tr class='forumrow'><td><br /><center>
<table border='0'>
<form method="POST" action="authenticate.php">
<tr class='forumrow'><td><b>Username:</b></td><td><input type="text" name="user" size="15"></td></tr>
<tr class='forumrow'><td><b>Password:</b></td><td><input type="password" name="password" size="15"></td></tr>
<tr class='forumrow'><td><b>Remember me?</b></td><td><input type='checkbox' name='remember'></td></tr>
<tr class='forumrow'><td></td><td><input type="submit" value="Log In" name="submit"></td></tr>
</form>
<tr class='forumrow'><td></td><td><A href='getpassword.php'>Forgot Password?</a>
</td></tr></table></center></td></tr></table>
<?php
}
else
{
	echo "<br><br><center><font style='background-image:url(images/transpblack.png); border:solid 1px #000000; padding: 4px'>You are already logged in. <a href='logout.php'>Logout Here.</a></font></center>";
}
?>
</center>
</body>
</html>